<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.com">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- css -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- /css -->
    <title>登录</title>
</head>
<body>
<h1>这是后台登录界面</h1>

<div class="container">
    <form th:action="@{#}" method="post" class="col-3">
        <div class="mb-3">
            <label for="username" class="form-label">用户名</label>
            <input class="form-control" id="username" name="username" aria-describedby="emailHelp1">
            <!-- <div id="emailHelp1" class="form-text">We'll never share your email with anyone else.</div> -->
        </div>

        <div class="mb-3">
            <label for="password" class="form-label">密码</label>
            <input class="form-control" id="password" name="password" type="password" aria-describedby="emailHelp2">
            <!-- <div id="emailHelp2" class="form-text">We'll never share your email with anyone else.</div> -->
        </div>

        <div class="mb-3">
            <button type="submit" class="btn btn-primary col-3">登录</button>
            <a class="btn btn-primary col-3 offset-5" th:href="@{/admin/user_register}">注册</a>
        </div>

    </form>
</div>

</body>
</html>